@extends('admin.layout.index')


@section('content')
<div class="mws-panel grid_8">
                    <div class="mws-panel-header">
                        <span><i class="icon-ok"></i>基本信息</span>
                    </div>
                    <div class="mws-panel-body no-padding">
                    <!-- 有上传文件需求，所以要表单属性要加enctype -->
                        <form id="mws-validate" class="mws-form" action="/admin/setting/insert" method="post" novalidate="novalidate" enctype="multipart/form-data">
                            {{ csrf_field() }}
                            <div id="mws-validate-error" class="mws-form-message error" style="display:none;"></div>
                            <div class="mws-form-inline">
                                <div class="mws-form-row">
                                    <label class="mws-form-label">网站标题</label>
                                    <div class="mws-form-item">
                                        <input name="name" class="required large" type="text">
                                    </div>
                                </div>
                                <div class="mws-form-row">
                                    <label class="mws-form-label">关键词</label>
                                    <div class="mws-form-item">
                                        <input name="keyword" class="required  large" type="text">
                                    </div>
                                </div>
                                <div class="mws-form-row">
                                    <label class="mws-form-label">网站描述</label>
                                    <div class="mws-form-item">
                                        <input name="content" class="required  large" type="text">
                                    </div>
                                </div>
                                <div class="mws-form-row">
                                    <label class="mws-form-label">咨询QQ</label>
                                    <div class="mws-form-item">
                                        <input name="qq" class="required  large" type="text">
                                    </div>
                                </div>
                                <div class="mws-form-row">
                                    <label class="mws-form-label">咨询热线</label>
                                    <div class="mws-form-item">
                                        <input name="tel" class="required  large" type="text">
                                    </div>
                                </div>
                                <div class="mws-form-row">
                                    <label class="mws-form-label">版权所有</label>
                                    <div class="mws-form-item">
                                        <input name="pow" class="required  large" type="text">
                                    </div>
                                </div>
                                <div class="mws-form-row">
                                    <label class="mws-form-label">备案号</label>
                                    <div class="mws-form-item">
                                        <input name="pic" class="required  large" type="text">
                                    </div>
                                </div>
                                <div class="mws-form-row">
                                    <label class="mws-form-label">网站LOGO:</label>
                                    <div class="mws-form-item">
                                        <input name="picture" class="required" style="position: absolute; top: 0px; right: 0px; margin: 0px; cursor: pointer; font-size: 999px; opacity: 0; z-index: 999;" type="file"></div>
                                        <label for="picture" class="error" generated="true" style="display:none"></label>
                                    </div>
                                </div>
                            </div>
                            <div class="mws-button-row">
                                <input class="btn btn-danger" type="submit"  value="提交">
                            </div>
                        </form>
                    </div>      
                </div>
@endsection